package com.zj.fx.mapper.auto;

import com.zj.fx.model.auto.TsysUser;
import com.zj.fx.model.auto.TsysUserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TsysUserMapper {
    long countByExample(TsysUserExample example);

    int deleteByExample(TsysUserExample example);

    int deleteByPrimaryKey(String id);

    int insert(TsysUser record);

    int insertSelective(TsysUser record);

    List<TsysUser> selectByExample(TsysUserExample example);

    TsysUser selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TsysUser record, @Param("example") TsysUserExample example);

    int updateByExample(@Param("record") TsysUser record, @Param("example") TsysUserExample example);

    int updateByPrimaryKeySelective(TsysUser record);

    int updateByPrimaryKey(TsysUser record);

    /*基础管理提升 start*/

    /**
     * 基础管理提升- 查询分管领导信息
     *
     * @param tsysUser -
     * @return -
     */
    List<TsysUser> queryTsysUserByFgldName(TsysUser tsysUser);

    /*基础管理提升 end*/
}